package com.controller.merchant;

import com.client.DadaApiResponse;
import com.request.AddOrderReq;
import com.service.CityCodeService;
import com.service.OrderAddService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhang
 */
@RestController
@Api(value = "OrderAddController")
public class CityCodeController {
    @Autowired
    private CityCodeService cityCodeService;

    @PostMapping("/api/cityCode/list")
    @ApiOperation(value = "cityCode", notes = "cityCode")
    public DadaApiResponse cityCode() {
        return cityCodeService.cityCodeList();
    }
}
